Inheritance diagram for I3DShKeyFrame:

Public Member Functions | |
| virtual int32 MCCOMAPI | GetParamSize () const =0 |
| virtual MCCOMErr MCCOMAPI | GetParam (void *buffer, int32 type, boolean &changed) const =0 |
| virtual MCCOMErr MCCOMAPI | SetParam (const void *param, int32 type)=0 |
| virtual int32 MCCOMAPI | GetType () const =0 |
| virtual void MCCOMAPI | Clone (I3DShKeyFrame **keyframe) const =0 |
| virtual MCCOMErr MCCOMAPI | Read (TMCiostream &stream)=0 |
| virtual MCCOMErr MCCOMAPI | Write (TMCiostream &stream) const =0 |
| virtual MCCOMErr MCCOMAPI | Copy (const I3DShKeyFrame *from)=0 |
| virtual MCCOMErr MCCOMAPI | LinearInterpolate (const real &lamda, const I3DShKeyFrame *kf1, const I3DShKeyFrame *kf2)=0 |
| virtual void MCCOMAPI | ComputeOffset (I3DShKeyFrame **result, I3DShKeyFrame *keyFrame)=0 |
| virtual MCCOMErr MCCOMAPI | ApplyOffset (I3DShKeyFrame *keyFrame)=0 |
| virtual void MCCOMAPI | Subtract (I3DShKeyFrame *keyFrame1, I3DShKeyFrame *keyFrame2, real lambda)=0 |
| virtual void MCCOMAPI | SetLink (I3DShTweenerChainLink *inLink)=0 |
| virtual I3DShTweenerChainLink *MCCOMAPI | GetLinkNoAddRef ()=0 |
| virtual boolean MCCOMAPI | SupportTangent () const =0 |
| virtual int32 MCCOMAPI | GetDimensionCount () const =0 |
| virtual void MCCOMAPI | GetDimensionValues (TMCArray< real > &values) const =0 |
| virtual void MCCOMAPI | SetDimensionValues (const TMCArray< real > &values)=0 |
| virtual void MCCOMAPI | CreateTangents ()=0 |
| virtual void MCCOMAPI | RemoveTangents ()=0 |
| virtual boolean MCCOMAPI | HaveTangents () const =0 |
| virtual ETangentType MCCOMAPI | GetTangentType (int32 dimension, int32 &outTangentFlags) const =0 |
| virtual void MCCOMAPI | SetTangentType (int32 dimension, ETangentType inTangentType, int32 inTangentFlags)=0 |
| virtual boolean MCCOMAPI | GetTangent (int32 dimension, ETangentSide side, real &value, MicroTick &time) const =0 |
| virtual void MCCOMAPI | SetTangent (int32 dimension, ETangentSide side, real value, MicroTick time)=0 |
Each animated parameter (I3DShParamInfo) owns a time line (I3DShParamTimeLine) which is a linked list of Tweener Chain Links (I3DShTweenerChainLink), each of them pointing to a keyframe.
The default keyframe types are:
You can derive your own keyframe class from this interface and create your keyframe type that you can register with the application (see I3DShUtilities::RegisterNewKeyFrameType)
|
|
Adds a value to the current keyframe
|
|
|
Creates a copy of the keyframe
|
|
||||||||||||
|
Computes the different between 2 keyframes.
|
|
|
Copy the value of another keyframe.
|
|
|
Creates tangents for this keyframe. Implemented in TBasicKeyFrame. |
|
|
Returns the dimension count for this keyframe (number of curve in the graph editor). Returns 0 if this keyframe cannot be displayed as curves. Implemented in TBasicKeyFrame. |
|
|
Returns the values corresponding to the dimension of the keyframe (converted as real).
Implemented in TBasicKeyFrame. |
|
|
Returns a pointer to the tweener chain link that is pointing to this keyframe. Implemented in TBasicKeyFrame. |
|
||||||||||||||||
|
Returns the value stored in the keyframe.
|
|
|
Returns the size (in bytes) necessary to store the parameter. |
|
||||||||||||||||||||
|
Gets the tangent for the given dimension at the given time
Implemented in TBasicKeyFrame. |
|
||||||||||||
|
Returns the tangent type for a given dimension.
Implemented in TBasicKeyFrame. |
|
|
Returns the type of the keyframe. |
|
|
Returns true if this keyframe have keyframes. Implemented in TBasicKeyFrame. |
|
||||||||||||||||
|
Performs a linear interpolation between two keyframes of the same type and stored the result in this keyframe.
|
|
|
Reads a keyframe value from a stream.
|
|
|
Removes tangents for this keyframe. Implemented in TBasicKeyFrame. |
|
|
Sets the value corresponding to one of the dimension of this keyframe.
Implemented in TBasicKeyFrame. |
|
|
Sets a pointer to the tweener chain link that is pointing to this keyframe.
Implemented in TBasicKeyFrame. |
|
||||||||||||
|
Sets the value that is stored in the keyframe.
|
|
||||||||||||||||||||
|
Gets the left tangent for the given dimension
Implemented in TBasicKeyFrame. |
|
||||||||||||||||
|
Sets the tangent type for a given dimension.
Implemented in TBasicKeyFrame. |
|
||||||||||||||||
|
Subtract two keyframes and multiplies the result by a constant (res = (k1-k2) * lambda) The result is stored in (*this).
|
|
|
Returns true if this keyframe support tangents. Implemented in TBasicKeyFrame. |
|
|
Write a key frame value into a stream.
|
1.4.5